package com.qdhh.enrollment.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Configuration binding for WeChat mini program credentials.
 */
@Component
@ConfigurationProperties(prefix = "wechat.miniapp")
public class WeChatProperties {

    /**
     * WeChat mini program appid.
     */
    private String appId;

    /**
     * WeChat mini program secret.
     */
    private String secret;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }
}
